package com.neusoft.my12306.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 段静迪
 * @since 2023-07-11
 */
public class Roles implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rid", type = IdType.AUTO)
    private Integer rid;

    private String rnm;

    /**
     * 角色信息的描述
     */
    private String dsc;

    /**
     * 0-正常
1-禁用
2-作废
     */
    private Integer nbl;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }
    public String getRnm() {
        return rnm;
    }

    public void setRnm(String rnm) {
        this.rnm = rnm;
    }
    public String getDsc() {
        return dsc;
    }

    public void setDsc(String dsc) {
        this.dsc = dsc;
    }
    public Integer getNbl() {
        return nbl;
    }

    public void setNbl(Integer nbl) {
        this.nbl = nbl;
    }

    @Override
    public String toString() {
        return "Roles{" +
            "rid=" + rid +
            ", rnm=" + rnm +
            ", dsc=" + dsc +
            ", nbl=" + nbl +
        "}";
    }
}
